#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>
#include<string.h>


int main()
{
	int shield = 0;
	int HP = 0;
	int Weapon = 0;
	int dmg = 0;
	int 
	scanf("%d %d", &shield,&Weapon);
	switch (shield)
	{
	case 1:
		HP = 150;
		break;
	case 2:
		HP = 175;
		break;
	case 3:
		HP = 200;
		break;
	case 4:
		HP = 225;
		break;
	}
	switch (Weapon)
	{
	case 1:
		dmg = 14;
		break;
	case 2:
		dmg = 18;
		break;
	case 3:
		dmg = 11;
		break;
	case 4:
		dmg = 45;
		break;
	}
	for()
	return 0;
}